package com.bootdo.clouddocms.service;

import com.bootdo.clouddocommon.dto.MenuDTO;
import com.bootdo.clouddocommon.intercepter.FeignIntercepter;
import com.bootdo.clouddocommon.utils.R;
import feign.Headers;
import javafx.beans.binding.ObjectExpression;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@Headers("Content-Type:application/json")
@FeignClient(name = "api-borrow", configuration = FeignIntercepter.class)
public interface BorrowService {
    @GetMapping("/borrow/list")
    R borrowList();
}
